package com.smedi.ismedi.organization.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @author yangzhenzhou
 * @date 2022/11/30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("组织机构角色配置短信提醒入参")
public class SendMessageByRoleRequest {
    @ApiModelProperty(value = "检查角色",required = true)
    @NotNull(message = "检查角色不为空！")
    private String checkRoleName;

    @ApiModelProperty(value = "最后期限",required = true)
    @NotNull(message = "最后期限不为空！")
    private String deadline;

    @ApiModelProperty(value = "接收人",required = true)
    @NotNull(message = "接收人不为空！")
    private String receiverName;
}
